testsuite: Fix test that was committed in a broken state
authorBenjamin Otte <otte@redhat.com>
Mon, 1 Dec 2014 03:04:08 +0000 (04:04 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 1 Dec 2014 03:05:44 +0000 (04:05 +0100)
1) Use font-size instead of color
This makes it easier to compare reference and test because the values
don't change.

2) Actually sort the reference properly
This unbreaks the test.

testsuite/css/parser/not.css
testsuite/css/parser/not.ref.css

index 59da9720287c0808bb971eae9a53c99daede332f..e67c3f39ff719373b91b1a09ce7094211f7e81b0 100644 (file)
@@ -1,80 +1,80 @@
 :not(*) {
-  color: tomato;
+  font-size: 1px;
 }
 
 :not(GtkButton) {
-  color: tomato;
+  font-size: 2px;
 }
 
 :not(:hover) {
-  color: tomato;
+  font-size: 3px;
 }
 
 :not(.yourmom) {
-  color: tomato;
+  font-size: 4px;
 }
 
 :not(#yourmom) {
-  color: tomato;
+  font-size: 5px;
 }
 
 :not( *) {
-  color: tomato;
+  font-size: 6px;
 }
 
 :not( GtkButton) {
-  color: tomato;
+  font-size: 7px;
 }
 
 :not(    :hover) {
-  color: tomato;
+  font-size: 8px;
 }
 
 :not(    .yourmom) {
-  color: tomato;
+  font-size: 9px;
 }
 
 :not( #yourmom) {
-  color: tomato;
+  font-size: 10px;
 }
 
 :not(* ) {
-  color: tomato;
+  font-size: 11px;
 }
 
 :not(GtkButton  ) {
-  color: tomato;
+  font-size: 12px;
 }
 
 :not(:hover      ) {
-  color: tomato;
+  font-size: 13px;
 }
 
 :not(.yourmom       ) {
-  color: tomato;
+  font-size: 14px;
 }
 
 :not(#yourmom      ) {
-  color: tomato;
+  font-size: 15px;
 }
 
 :not( * ) {
-  color: tomato;
+  font-size: 16px;
 }
 
 :not( GtkButton   ) {
-  color: tomato;
+  font-size: 17px;
 }
 
 :not(  :hover   ) {
-  color: tomato;
+  font-size: 18px;
 }
 
 :not(       .yourmom                    ) {
-  color: tomato;
+  font-size: 19px;
 }
 
 :not(                   #yourmom ) {
-  color: tomato;
+  font-size: 20px;
 }
 
index 7cb0fb3e9c61772ad754182c216841e9ade934e3..c369a26fe26f1a205547e6ed5bb0c7f72bd4b09c 100644 (file)
@@ -1,80 +1,79 @@
 :not(*) {
-  color: rgb(255,99,71);
+  font-size: 1px;
 }
 
-:not(GtkButton) {
-  color: rgb(255,99,71);
+:not(*) {
+  font-size: 6px;
 }
 
-:not(:hover) {
-  color: rgb(255,99,71);
+:not(*) {
+  font-size: 11px;
 }
 
-:not(.yourmom) {
-  color: rgb(255,99,71);
+:not(*) {
+  font-size: 16px;
 }
 
-:not(#yourmom) {
-  color: rgb(255,99,71);
+:not(GtkButton) {
+  font-size: 2px;
 }
 
-:not(*) {
-  color: rgb(255,99,71);
+:not(GtkButton) {
+  font-size: 7px;
 }
 
 :not(GtkButton) {
-  color: rgb(255,99,71);
+  font-size: 12px;
 }
 
-:not(:hover) {
-  color: rgb(255,99,71);
+:not(GtkButton) {
+  font-size: 17px;
 }
 
-:not(.yourmom) {
-  color: rgb(255,99,71);
+:not(:hover) {
+  font-size: 3px;
 }
 
-:not(#yourmom) {
-  color: rgb(255,99,71);
+:not(.yourmom) {
+  font-size: 4px;
 }
 
-:not(*) {
-  color: rgb(255,99,71);
+:not(:hover) {
+  font-size: 8px;
 }
 
-:not(GtkButton) {
-  color: rgb(255,99,71);
+:not(.yourmom) {
+  font-size: 9px;
 }
 
 :not(:hover) {
-  color: rgb(255,99,71);
+  font-size: 13px;
 }
 
 :not(.yourmom) {
-  color: rgb(255,99,71);
+  font-size: 14px;
 }
 
-:not(#yourmom) {
-  color: rgb(255,99,71);
+:not(:hover) {
+  font-size: 18px;
 }
 
-:not(*) {
-  color: rgb(255,99,71);
+:not(.yourmom) {
+  font-size: 19px;
 }
 
-:not(GtkButton) {
-  color: rgb(255,99,71);
+:not(#yourmom) {
+  font-size: 5px;
 }
 
-:not(:hover) {
-  color: rgb(255,99,71);
+:not(#yourmom) {
+  font-size: 10px;
 }
 
-:not(.yourmom) {
-  color: rgb(255,99,71);
+:not(#yourmom) {
+  font-size: 15px;
 }
 
 :not(#yourmom) {
-  color: rgb(255,99,71);
+  font-size: 20px;
 }
-